/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proj5labbd;

import java.text.SimpleDateFormat;
import java.util.Calendar;

/**
 *Classe para utilidades de datas
 */
public class DateUtils {
  public static final String DATE_FORMAT_NOW = "HH:mm:ss";

  /*
   * Retorna data atual
   */
  public static String now() {
    Calendar cal = Calendar.getInstance();
    SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
    return sdf.format(cal.getTime());

  }
}
